import request from '@/utils/request'

export function payOrder(data) {
    return request({
      url: '/pay/order',
      method: 'post',
      data: data
    })
}

export function ybWechatConfigAdd(data) {
    return request({
      url: '/pay/yb_wechat_config_add',
      method: 'post',
      data: data
    })
}

export function ybPrePay(data) {
    return request({
      url: '/pay/ybprepay',
      method: 'post',
      data: data
    })
}

export function tradeOrder(data) {
    return request({
      url: '/pay/trade_order',
      method: 'post',
      data: data
    })
}

export function checkCode(data) {
    return request({
      url: '/pay/check_code',
      method: 'post',
      data: data
    })
}
